<%@ include file="../common/IncludeTop.jsp"%>

<div id="BackLink">
<%--	<stripes:link--%>
<%--	beanclass="org.mybatis.jpetstore.web.actions.CatalogActionBean">--%>
<%--	Return to Main Menu--%>
<%--	</stripes:link>--%>
	<a href="main">Return to Main Menu</a>
</div>

<div id="Catalog">

<table>
	<tr>
		<th>&nbsp;</th>
		<th>Product ID</th>
		<th>Name</th>
	</tr>
	<c:forEach var="product" items="${sessionScope.productList}">
		<tr>
			<td>
<%--				<stripes:link--%>
<%--				beanclass="org.mybatis.jpetstore.web.actions.CatalogActionBean"--%>
<%--				event="viewProduct">--%>
<%--				<stripes:param name="productId" value="${product.productId}" />--%>
<%--				${product.description}--%>
<%--				</stripes:link>--%>
				<a href="viewProduct?productId=${product.productId}">${product.description}</a>
			</td>
			<td><b>
<%--				<stripes:link--%>
<%--				beanclass="org.mybatis.jpetstore.web.actions.CatalogActionBean"--%>
<%--				event="viewProduct">--%>
<%--				<stripes:param name="productId" value="${product.productId}" />--%>
<%--				<font color="BLACK"> ${product.productId} </font>--%>
<%--				</stripes:link> --%>
				<a href="viewProduct?productId=${product.productId}">${product.productId}</a>
				</b>
			</td>
			<td>${product.name}</td>
		</tr>
	</c:forEach>
	<tr>
		<td></td>
	</tr>

</table>

</div>

<%@ include file="../common/IncludeBottom.jsp"%>




